package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.beautyescort.EscortBeautyDispatch;

import java.util.ArrayList;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_l_ck_beauty_escort_escorting", desc = "走镖记录", autoSave = true, uploadCk = true)
public class LogBeautyEscorting extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "玩家id", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "镖车id")
    private int cartId;

    @FieldTypeAnnotation(desc = "走镖id")
    private long dartId;

    @FieldTypeAnnotation(desc = "商会id")
    private String unionUid;

    @FieldTypeAnnotation(desc = "商会等级")
    private int unionLv;

    @FieldTypeAnnotation(desc = "美女")
    private List<EscortBeautyDispatch> beautyList = new ArrayList<>();

    @FieldTypeAnnotation(desc = "开启消耗")
    private String openConsume;

    @FieldTypeAnnotation(desc = "次数购买消耗")
    private String buyConsume;

    @FieldTypeAnnotation(desc = "委托人id")
    private int clientId;

    @FieldTypeAnnotation(desc = "镖车类型")
    private int cartType;

    public LogBeautyEscorting(long userId, int cartId, long dartId, String unionUid, int unionLv, List<EscortBeautyDispatch> beautyList, String openConsume, String buyConsume, int clientId, int cartType) {
        this.userId = userId;
        this.cartId = cartId;
        this.dartId = dartId;
        this.unionUid = unionUid;
        this.unionLv = unionLv;
        this.beautyList = beautyList;
        this.openConsume = openConsume;
        this.buyConsume = buyConsume;
        this.clientId = clientId;
        this.cartType = cartType;
    }

    public long getUserId() {
        return userId;
    }
}
